<!--HTML-->
<!DOCTYPE html>
<html lang="en" dir="ltr">
<head>
<meta charset="utf-8">
<meta http-equiv="X-UA-Compatible" content="IE=edge">
<!-- Tell the browser to be responsive to screen width -->
<meta name="viewport" content="width=device-width,initial-scale=1,maximum-scale=1,minimum-scale=1,user-scalable=no,minimal-ui">
<meta name="referrer" content="no-referrer">
<meta name="description" content="">
<meta name="author" content="">
    <style type="text/css">
      #mse {flex:auto;}
    </style>
<title>[[${article.title}]]</title>
</head>
<body>
            <!-- Container fluid  -->
            <!-- ============================================================== -->
            <div class="container-fluid">
                <!-- ============================================================== -->
                <!-- Start Page Content -->
                <!-- ============================================================== -->
                <!-- basic table -->
                <div class="row">
                
                    <div class="col-lg-12">
                        <div class="card">
                            <div class="card-body">
                                <h4 class="card-title">[[${article.title}]]</h4> 
                                
	         <div class="row ">
				 <div class="col-md-12">
				  	  <span><i class="far fa-calendar-alt"></i>[[${#dates.format(article.createTime, 'yyyy-MM-dd HH:mm:ss')}]]</span> 
					  <span class="col-lg-2 "><span><i class="fas fa-heartbeat"></i> 曝光量： [[${article.hits}]] </span> </span> 
					  <span class="col-lg-2"> <span><i class="fas fa-donate"></i> 市场价：[[${#numbers.formatCurrency(article.maxPrice)}]]元</span> </span> 
		              <span class="col-lg-2 "> <span><i class="fas fa-dolly"></i> 折扣价：[[${#numbers.formatCurrency(article.price)}]]元</span>  </span>  
		              <a class="col-lg-2 " href="/buy?id=1392842189264470016" target="_blank"><span class="badge badge-pill badge-info  button"><i class="ti-shopping-cart"></i> 立即购买</span></a>
					  <a class="col-lg-2" href="/indexCoupon.html" target="_blank"><span class="badge badge-pill badge-danger"><i class=" fas fa-gift"></i> 优惠券</span></a>
				</div>
			</div>
	

	 <hr/>
                                
       					 <div class="card">
                            <div class="card-body bg-light">
                                <div class="row text-left">
                                    <div class="col-12 ">
                                  [[${article.description}]] 
                                    </div>
                                </div>
                            </div>
                            <div class="card-body">
                         <a class="image-popup-vertical-fit" th:href="${article.image}"><img th:src="${article.image}" style="width:100%" alt=""></a>
                            </div>
                        </div>                                
                               
                                <div id="editor" class="summernote"> </div>
                            </div>
                        </div>
                        <div class="card">
                            <div class="card-body">
                                <h4 class="card-title"><i class="mdi mdi-message font-20 m-r-5"></i> 留言列表</h4>
                                <ul class="list-unstyled m-t-40">
                                    <li class="media">
                                        <img class="m-r-15" src="/xtreme-admin/assets/images/users/2.jpg" width="60" alt="Generic placeholder image">
                                        <div class="media-body">
                                            <h5 class="mt-0 mb-1">用户</h5> Cras sit amet nibh libero, in gravida nulla. Nulla vel metus scelerisque ante sollicitudin. Cras purus odio, vestibulum in vulputate at, tempus viverra turpis. Fusce condimentum nunc ac nisi vulputate fringilla. Donec lacinia congue felis in faucibus.
                                        </div>
                                    </li>
                                    <hr>
                                    <li class="media my-4">
                                        <img class="m-r-15" src="/xtreme-admin/assets/images/users/1.jpg" width="60" alt="Generic placeholder image">
                                        <div class="media-body">
                                            <h5 class="mt-0 mb-1">Agent Name</h5> Cras sit amet nibh libero, in gravida nulla. Nulla vel metus scelerisque ante sollicitudin. Cras purus odio, vestibulum in vulputate at, tempus viverra turpis. Fusce condimentum nunc ac nisi vulputate fringilla. Donec lacinia congue felis in faucibus.
                                        </div>
                                    </li>
                                   
                                </ul>
                            </div>
                        </div>
                       <div class="card">
                            <div class="card-body">
                                <h4 class="m-b-20">写留言</h4>
                                <form method="post">
                                	<input th:field="*{article.cmsArticleData.content}" type="hidden">
                                    <textarea id="mymce" name="area" class="form-control "></textarea>
                                    <button type="button" class="m-t-20 btn waves-effect waves-light btn-success">留言</button>
                                    <button type="button" class="m-t-20 btn waves-effect waves-light btn-info">留言 & 关闭</button>
                                </form>
                            </div>
                        </div>
                    </div>
                    
            
               
                </div>
            </div>
            <!-- ============================================================== -->
            <!-- End Container fluid  -->
            <!-- Include the Quill library -->
		
		<script>
		
    $(function() {
		var content = $("#cmsArticleData\\.content").val();
	    $('#editor').html(content);
    });		
		
		</script>
</body>
</html>